<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        table {border-collapse: collapse;font-size: 14px;width: 1200px;margin: auto}
        table,th,td{border: 1px solid darkslategray;padding: 10px}
    </style>
</head>
<body>
<center>
    <span style="color: darkslategray;font-size: 30px">欢迎<span style="color: darkslategray;font-size: 30px">[[${session.username}]]</span>光临</span>
    <span><a th:href="@{/login/loginto}">退出</a></span>
</center>
    <table class="list">
        <tr>
            <th>员工编号</th>
            <th>员工姓名</th>
            <th>员工性别</th>
            <th>出生年月日</th>
            <th>入职时间</th>
            <th>学历</th>
            <th>职务</th>
            <th>住址</th>
            <th>电话</th>
            <th>紧急联系人</th>
            <th>所属部门</th>
        </tr>
        <!--/*@thymesVar id="list" type=""*/-->
        <tr th:each="list : ${blist}">
            <td th:text="${list.sid}"></td>
            <td th:text="${list.sname}"></td>
            <td th:text="${list.sex} == '1' ? '男':'女'"></td>
            <!--${#dates.format(user.dateyear,'yyyy-MM-dd')}-->
            <td th:text="${#dates.format(list.birthday,'yyyy-MM-dd')}"></td>
            <td th:text="${#dates.format(list.createtime,'yyyy-MM-dd')}"></td>
            <td th:text="${list.school}"></td>
            <td th:text="${list.zname}"></td>
            <td th:text="${list.address}"></td>
            <td th:text="${list.phone}"></td>
            <td th:text="${list.contact}"></td>
            <td th:text="${list.bname}"></td>
        </tr>
    </table>
</body>
</html>